#!/bin/bash
if [ ! -f main.sh ]; then
  echo "安装失败"
else
  cp main.sh $PATH/bili
  chmod +x $PATH/bili
  echo "安装成功"
  echo "现在可以输入 bili 命令运行程序啦！"
	read -p "`echo "是否运行程序y/n？"`" c
	if [[ $c == "y" ]]; then
		bili
	fi
fi
